package com.nativetalk.service.three.demand;

import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.demand.TdNtDemand;

import java.util.List;

/**
 * Created by lizhun on 16/8/27.
 */
public interface DemandService {
    /**
     * @Purpose  查询用户是否填写过需求
     * @version  3.2
     * @author   lizhun
     * @param    memb_id
     * @return   RetInfo
     */
    public RetInfo findDemanByMembId(int memb_id);
    /**
     * @Purpose  填写需求
     * @version  3.2
     * @author   lizhun
     * @param    memb_id
     * @return   RetInfo
     */
    public RetInfo demand(int memb_id,List<TdNtDemand> tdNtDemands);

    RetInfo checkCourseCategory(Integer memb_id);

    void checkCourseCategoryTrail(Integer memb_id, Integer cate_id);
}
